<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class ContainerUtil</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> ContainerUtil</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Various container utility functions</p>
	<ul class="tags">
				<li><span class="field">author:</span> navid</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_slinks---core---dependencyInjectionExt---ContainerUtil.php.html">/slinks/core/dependencyInjectionExt/ContainerUtil.php</a> (line <span class="field">11</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
												<div class="method-definition">
					<img src="../media/images/StaticMethod.png" alt=" "/>
											static <span class="method-result">void</span>
										<a href="#addValueToArrayParameter" title="details" class="method-name">addValueToArrayParameter</a>
											(<span class="var-type"><a href="../default/ContainerBuilder.html">ContainerBuilder</a></span>&nbsp;<span class="var-name">$container</span>, <span class="var-type">type</span>&nbsp;<span class="var-name">$parameterName</span>, <span class="var-type">type</span>&nbsp;<span class="var-name">$value</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/StaticMethod.png" alt=" "/>
											static <span class="method-result">void</span>
										<a href="#setValueForArrayParameter" title="details" class="method-name">setValueForArrayParameter</a>
											(<span class="var-type"><a href="../default/ContainerBuilder.html">ContainerBuilder</a></span>&nbsp;<span class="var-name">$container</span>, <span class="var-type">type</span>&nbsp;<span class="var-name">$parameterName</span>, <span class="var-type">type</span>&nbsp;<span class="var-name">$key</span>, <span class="var-type">type</span>&nbsp;<span class="var-name">$value</span>)
									</div>
																															</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
													<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodaddValueToArrayParameter" id="addValueToArrayParameter"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/StaticMethod.png" />
		<span class="method-title">static addValueToArrayParameter</span> (line <span class="line-number">45</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Adds the given value for the given array parameter</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addValueToArrayParameter
		</span>
					(<span class="var-type"><a href="../default/ContainerBuilder.html">ContainerBuilder</a></span>&nbsp;<span class="var-name">$container</span>, <span class="var-type">type</span>&nbsp;<span class="var-name">$parameterName</span>, <span class="var-type">type</span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../default/ContainerBuilder.html">ContainerBuilder</a></span>
				<span class="var-name">$container</span>			</li>
					<li>
				<span class="var-type">type</span>
				<span class="var-name">$parameterName</span><span class="var-description">: the name of the parameter to set the key and value for.</span>			</li>
					<li>
				<span class="var-type">type</span>
				<span class="var-name">$value</span><span class="var-description">: the value to use for the new array parameter  NOTE: if the current value for the parameter is not an array it will first be converted to an array before adding the new parameter.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetValueForArrayParameter" id="setValueForArrayParameter"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/StaticMethod.png" />
		<span class="method-title">static setValueForArrayParameter</span> (line <span class="line-number">21</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the given value for the given array parameter and key.</p>
	<ul class="tags">
				<li><span class="field">throws:</span> \InvalidArgumentException if the Parameter referenced by $parameterName is not an array.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setValueForArrayParameter
		</span>
					(<span class="var-type"><a href="../default/ContainerBuilder.html">ContainerBuilder</a></span>&nbsp;<span class="var-name">$container</span>, <span class="var-type">type</span>&nbsp;<span class="var-name">$parameterName</span>, <span class="var-type">type</span>&nbsp;<span class="var-name">$key</span>, <span class="var-type">type</span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../default/ContainerBuilder.html">ContainerBuilder</a></span>
				<span class="var-name">$container</span>			</li>
					<li>
				<span class="var-type">type</span>
				<span class="var-name">$parameterName</span><span class="var-description">: the name of the parameter to set the key and value for.</span>			</li>
					<li>
				<span class="var-type">type</span>
				<span class="var-name">$key</span><span class="var-description">: the key to use for the new array parameter</span>			</li>
					<li>
				<span class="var-type">type</span>
				<span class="var-name">$value</span><span class="var-description">: the value to use for the new array parameter</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Thu, 21 Jul 2011 00:28:34 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>